﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="OutrosRequerimentos.aspx.cs" Inherits="SAAC.Funcionario.OutrosRequerimentos" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

 
   <asp:GridView ID="gvwOutrosRequerimentos" runat="server" 
   AllowPaging="True" 
  
   AutoGenerateColumns="False" 
  
   onselectedindexchanged="gvwOutrosRequerimentos_SelectedIndexChanged"   
   >
  
   <Columns> 
        <asp:buttonfield buttontype="Link" commandname="Select" text="Selecionar"/>
        <asp:BoundField DataField="Id"  ReadOnly="True" /> 
        <asp:BoundField DataField="AlunoRequerinte.Matricula" HeaderText="Matrícula do Aluno" InsertVisible="False" ReadOnly="True"/> 
        <asp:BoundField DataField="Abertura" HeaderText="Data de Abertura" InsertVisible="False" ReadOnly="True"/> 
        <asp:BoundField DataField="Fechamento" HeaderText="Data de Fechamento" InsertVisible="False" ReadOnly="True"/> 
        <asp:BoundField DataField="Status" HeaderText="Status" InsertVisible="False" ReadOnly="True"/> 
        <asp:BoundField DataField="Comentarios" HeaderText="Comentários" InsertVisible="False" ReadOnly="True" HtmlEncode="False"/>
        <asp:BoundField DataField="FuncionarioAvaliador.Matricula" InsertVisible="True" ReadOnly="True" HtmlEncode="False"/>
       
       
   </Columns> 
   </asp:GridView> 
   <asp:Panel runat="server" ID="pnlRequerimento" Visible="false">
        <div>
           <asp:TextBox runat="server" ID="txtId" Visible="false"></asp:TextBox>
       </div>
        <div>
           <asp:Label runat="server" ID="lblMatriculaAluno" Text="Matrícula do Aluno:"></asp:Label><br />
           <asp:TextBox runat="server" ID="txtMatriculaAluno"></asp:TextBox>
       </div>
       <div>
           <asp:Label runat="server" ID="lblDataAbertura" Text="Data de Abertura:"></asp:Label><br />
           <asp:TextBox runat="server" ID="txtDataAbertura"></asp:TextBox><br />
       </div>
       <div>
           <asp:Label runat="server" ID="lblFechamento" Text="Data de Fechamento:"></asp:Label><br />
           <asp:TextBox runat="server" ID="txtFechamento"></asp:TextBox>
        </div>
        <div>
           <asp:Label runat="server" ID="lblStatus" Text="Status:"></asp:Label><br />
           <asp:TextBox runat="server" ID="txtStatus"></asp:TextBox>
       </div>
       <div>
           <asp:Label runat="server" ID="lblComentarios" Text="Comentários:"></asp:Label><br />
           <asp:TextBox runat="server" ID="txtComentarios" TextMode="MultiLine"></asp:TextBox>
       </div>

       <asp:Button runat="server" ID="btnIniciarMeuRequerimento" 
            Text="Iniciar Meu Requerimento" onclick="btnIniciarMeuRequerimento_Click" />
       <br />

       
  </asp:Panel>
  <asp:Label runat="server" ID="lblMensagem" ForeColor="Red"></asp:Label>
    

</asp:Content>
